package com.kx.game.center.api.instances;

import com.kx.game.center.api.IRecord;
import com.kx.game.center.servlet.TransferServlet;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 默认记录
 * 
 * @author wenji.fan
 * @since 2013-8-15
 * 
 */
public class DefaultRecord implements IRecord {
	private static final Log logger = LogFactory.getLog(TransferServlet.class);

	@Override
	public void recordInfo(String info) {
		logger.info(info);
	}

	@Override
	public void recordError(String error, Exception e) {
		logger.error(error, e);

	}

}
